﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DisplayBoardInfo.Network.Messages.Content
{
    [Serializable]
    public struct Appointment
    {
        private Patient patient;
        private User doctor;
        private DateTime dateTime;
        private int number, id, time;

        public Patient Patient
        {
            get { return patient; }
            set { patient = value; }
        }

        public User Doctor
        {
            get { return doctor; }
            set { doctor = value; }
        }

        public DateTime Date
        {
            get { return dateTime; }
            set { dateTime = value; }
        }

        public int Number
        {
            get { return number; }
            set { number = value; }
        }

        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        /// <summary>
        /// Tutaj chodzi o przewidywany czas wizyty, może być zawsze taki sam. Ile wynosi to już zależy od Ciebie. Podawany w <b>minutach</b>.
        /// </summary>
        public int ExpectedTime
        {
            get { return time; }
            set { time = value; }
        }
    }
}
